<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户注册</title>
    <link rel="stylesheet" href="/css/back/userRegister.css">
    <script src="/js/jquery.min.js"></script>
    <script src="/js/jquery.cookie.js"></script>
    <script src="/js/back/commonCheck.js"></script>
    <script src="/js/common.js"></script>
    <script src="/js/back/register.js"></script>
</head>
<body>
<div class="userRegister">
    <div>
        <div class="register">
            <div>用户名:</div>
            <div><input type="text" class="input-text" name="username" id="username" onblur="checkUsername()"
                        placeholder="首位以字母开头">
                <label id="check-username"></label></div>
        </div>
        <div class="register">
            <div>密码:</div>
            <div><input type="password" class="input-text" name="password" id="password" onblur="checkPassword()"
                        placeholder="首位以字母开头，数字、下划线，长度6-16位">
                <label id="check-password"></label></div>
        </div>
        <div class="register">
            <div>重新输入密码:</div>
            <div>
                <input type="password" class="input-text" name="rePassword" id="rePassword" onblur="checkRepassword()"
                       placeholder="首位以字母开头，数字、下划线，长度6-16位">
                <label id="check-rePassword"></label>
            </div>
        </div>
        <div class="register">
            <div>电话号码:</div>
            <div><input type="text" class="input-text" name="phone" id="phone" onblur="checkPhone()"
                        placeholder="数字1开头、第二位3、4、5、7、8、9，长度11位">
                <label id="check-phone"></label></div>
        </div>
        <div class="userRegister-submit">
            <div><input type="button" value="注册" onclick="register()"></div>
            <div><input type="button" value="去登录" onclick="toLogin()"></div>
        </div>
    </div>
</div>
</body>
</html>
